package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.Model;

import java.util.List;

public interface ModelService extends IService<Model> {
    void add(Model model);

    int getIdByName(String name);

    List<Model> getAll();

}
